// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
// 导入字体图标
import '@/assets/styles/iconfont/iconfont.css'
// 引入Element
import elementUi from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
// 引入Axios
import axios from 'axios'
import VueAxios from 'vue-axios'

Vue.use(elementUi)
Vue.use(VueAxios, axios)

axios.defaults.baseURL = 'http://www.szwstar.xyz:8080/'
// axios.defaults.baseURL = 'http://localhost:8577/'

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
